package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;
import java.util.List;


/**
 * The persistent class for the report_column_tbl database table.
 * 
 */
@Entity
@Table(name="report_column_tbl")
public class ReportColumn extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="RPRT_COL_CODE")
	private int rprtColCode;

	@Column(name="COL_SRCE")
	private boolean colSrce;

	@Column(name="RPRT_CODE")
	private int rprtCode;

	@Column(name="RPRT_NAME")
	private String rprtName;

	//bi-directional many-to-one association to ReportColumnSource
	@OneToMany(mappedBy="reportColumn")
	private List<ReportColumnSource> reportColumnSources;

	public ReportColumn() {
	}

	public int getRprtColCode() {
		return this.rprtColCode;
	}

	public void setRprtColCode(int rprtColCode) {
		this.rprtColCode = rprtColCode;
	}

	public boolean getColSrce() {
		return this.colSrce;
	}

	public void setColSrce(boolean colSrce) {
		this.colSrce = colSrce;
	}

	public int getRprtCode() {
		return this.rprtCode;
	}

	public void setRprtCode(int rprtCode) {
		this.rprtCode = rprtCode;
	}

	public String getRprtName() {
		return this.rprtName;
	}

	public void setRprtName(String rprtName) {
		this.rprtName = rprtName;
	}

	public List<ReportColumnSource> getReportColumnSources() {
		return this.reportColumnSources;
	}

	public void setReportColumnSources(List<ReportColumnSource> reportColumnSources) {
		this.reportColumnSources = reportColumnSources;
	}

}